package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.wemedia.pojos.WmSensitive;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Administrator
 */
@Mapper
public interface WmSensitiveMapper extends BaseMapper<WmSensitive> {
    @Select("select * from wm_sensitive where sensitives like concat('%',#{name},'%')")
    List<WmSensitive> pageByName(String name);
}
